home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-13
/
be300.zip
/
HEXKEY.CHS
< prev
next >
Wrap
Text File
|
1992-10-18
|
319b
|
11 lines
/* this routine functions the same as HEXKEY.COM
/* it displays the hex and decimal value of a keystroke
{
int i;
msg("Press any key ... (Escape exits)");
i=getkey();
while((i%256)!=27){
msg("Value is %04lx [%06ld] ... Press another key ... (Escape exits)",i,i)
i=getkey();
}
}